package com.github.satant.job.biz.impl;

import com.github.satant.job.biz.StWorkBiz;
import com.github.satant.job.common.biz.impl.BaseBizImpl;
import com.github.satant.job.common.msg.TableResultResponse;
import com.github.satant.job.common.util.Query;
import com.github.satant.job.entity.StWork;
import com.github.satant.job.mapper.StWorkMapper;
import java.time.LocalDateTime;
import org.springframework.stereotype.Service;

/**
 * 工作经历表
 *
 * @author dear_satant
 * @email 446269825@qq.com
 * @date 2018-06-26 21:32:17
 */
@Service
public class StWorkBizImpl extends BaseBizImpl<StWorkMapper,StWork> implements StWorkBiz {

    @Override
    public StWork insertSelective(StWork entity) {
        return super.insertSelective(entity);
    }

    public void setDefault(StWork entity){
        entity.setBeginTime(LocalDateTime.now());
    }
}